Basic Scatterplot

A basic scatterplot is easy to make, with the added benefit of tooltips that appear when your mouse hovers over each point. Specify a scatterplot by indicating type = "scatter". Notice that the arguments for the x and y variables as specified as formulas, with the tilde operator (~) preceding the variable that you’re plotting.
This is a scatterplot for the iris dataset:

Added color

3D scatterplot

Stockmarket

Lineplots

Histogram

Boxplot

Heatmap 2D

Heatmap 3D (Surface)

Choropleth Maps

Make ggplot plots interactive - convert ggplot to plot_ly